
package com.niguang.work.show.common.config.wechatMini;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * wechat mini properties
 */

@ConfigurationProperties(prefix = "wechat.mini")
@Data
public class WechatMiniProperties {

    /**
     * 设置微信小程序的appid
     */
    private String appId;

    /**
     * 设置微信小程序的app secret
     */
    private String secret;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
